package com.buybuyyi.stylistcrm.resource.goods.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.po.Goods;

import stylistcrm.core.services.goods.dto.GoodsPageDTO;

public interface GoodsMapper {
    Long deleteByPrimaryKey(Long id);

    Long insert(Goods record);

    Long insertSelective(Goods record);

    Goods selectByPrimaryKey(Long id);

    Long updateByPrimaryKeySelective(Goods record);

    Long updateByPrimaryKeyWithBLOBs(Goods record);

    Long updateByPrimaryKey(Goods record);
    
    List<Goods> getPageList(GoodsPageDTO goodPageDto);
    
    Integer getPageListSize(GoodsPageDTO goodPageDto);
}